package ModelLayer;



public class Rent
{
   
   
   private long rentId;
   private String name;
   private double amount;
   private double rentPrice;
   private String dateFrom;
   private String dateTill;
   private double invoice;
   private double rentDays;

   
    public Rent(long rentId, String name, double amount, double rentPrice, String dateFrom, String dateTill,double rentDays)
    {
        this.rentId = rentId;
        this.name = name;
        this.amount = amount;
        this.rentPrice = rentPrice;
        this.dateFrom = dateFrom;
        this.dateTill = dateTill;
        this.rentDays = rentDays;
    }

   
    public void setName(String name)
    {
       this.name = name;
    }
    
    public void setAmount(double amount)
    {
        this.amount = amount;
    }
    
    public void setRentPrice(double rentPrice)
    {
        this.rentPrice = rentPrice;
    }
    
    public void setDateFrom(String dateFrom)
    {
        this.dateFrom = dateFrom;
    }
    
    public void setDateTill(String dateTill)
    {
        this.dateTill = dateTill;
    }
    
    public void setRentDays(double rentDays)
    {
        this.rentDays = rentDays;
    }
    
    public String getName()
    {
        return name;
    }
    
    public double getPrice()
    {
        return rentPrice;
    }
    
   public String getDateFrom()
   {
       return dateFrom;
   }
   
   public String getDateTill()
   {
       return dateTill;
    }
    
    public double getRentDays()
    {
        return rentDays;
    }
    
    public double getInvoice()
    {
        return invoice;
    }
    
}
